package com.yfp.group.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.group.domain.EnterpriseOrderDetails;
import com.yfp.group.domain.vo.EnterpriseOrderClientVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admin
 * @description 针对表【enterprise_order_details(企业订单明细)】的数据库操作Mapper
 * @createDate 2024-08-10 09:43:43
 * @Entity domain.com.yfp.group.EnterpriseOrderDetails
 */
public interface EnterpriseOrderDetailsMapper extends BaseMapper<EnterpriseOrderDetails> {

    /**
     * 根据订单号查询订单明细
     *
     * @param orderSnList
     * @return
     */
    List<EnterpriseOrderDetails> listByOrderSns(@Param("orderSnList") List<String> orderSnList);

    EnterpriseOrderClientVO getComboInfo(EnterpriseOrderClientVO enterpriseOrderClientVO);

    Integer getComboNum(String enterpriseOrderSn);
}




